﻿namespace IPScanner
{
    internal class ScanReportArgs : EventArgs
    {
        public HostItem HostItem { get; private set; }

        public bool IsError { get; private set; }

        public ScanReportArgs(HostItem hostItem) { HostItem = hostItem; IsError = false; }

        public ScanReportArgs(string ip) { HostItem = new HostItem { Address = ip }; IsError = true; }
    }
}
